<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SWM34S_LVGL7.11_SWMUI: C:/Users/DELL/Desktop/Commit/lvgl/SWM34S_LVGL7.11_SWMUI_20230515/APP/USB/Device/descriptors_cdc.c 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SWM34S_LVGL7.11_SWMUI<span id="projectnumber">&#160;V7.9</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.5 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_0ca16891106f5a3e9ad635a0d6c5f98f.html">APP</a></li><li class="navelem"><a class="el" href="dir_688c5dfbd99f3a5435dc860226c47105.html">USB</a></li><li class="navelem"><a class="el" href="dir_0cccf70620b7ab69b712eb5bd1705234.html">Device</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#var-members">变量</a>  </div>
  <div class="headertitle"><div class="title">descriptors_cdc.c 文件参考</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;SWM341.h&quot;</code><br />
<code>#include &quot;<a class="el" href="vcom__serial_8h_source.html">vcom_serial.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
descriptors_cdc.c 的引用(Include)关系图:</div>
<div class="dyncontent">
<div class="center"><img src="descriptors__cdc_8c__incl.png" border="0" usemap="#a_c_1_2_users_2_d_e_l_l_2_desktop_2_commit_2lvgl_2_s_w_m34_s___l_v_g_l7_811___s_w_m_u_i__20230515_2_a_p_p_2_u_s_b_2_device_2descriptors__cdc_8c" alt=""/></div>
<map name="a_c_1_2_users_2_d_e_l_l_2_desktop_2_commit_2lvgl_2_s_w_m34_s___l_v_g_l7_811___s_w_m_u_i__20230515_2_a_p_p_2_u_s_b_2_device_2descriptors__cdc_8c" id="a_c_1_2_users_2_d_e_l_l_2_desktop_2_commit_2lvgl_2_s_w_m34_s___l_v_g_l7_811___s_w_m_u_i__20230515_2_a_p_p_2_u_s_b_2_device_2descriptors__cdc_8c">
<area shape="rect" title=" " alt="" coords="5,5,247,75"/>
<area shape="rect" title=" " alt="" coords="24,123,111,148"/>
<area shape="rect" href="vcom__serial_8h.html" title=" " alt="" coords="135,123,237,148"/>
<area shape="rect" title=" " alt="" coords="153,196,219,221"/>
</map>
</div>
</div>
<p><a href="descriptors__cdc_8c_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="var-members" name="var-members"></a>
变量</h2></td></tr>
<tr class="memitem:ab60c3cff1fd75a4e5a9498a17bdf631c"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="descriptors__cdc_8c.html#ab60c3cff1fd75a4e5a9498a17bdf631c">USBD_DeviceDescriptor</a> []</td></tr>
<tr class="separator:ab60c3cff1fd75a4e5a9498a17bdf631c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a614f7a948820f0feb4257652eafda311"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="descriptors__cdc_8c.html#a614f7a948820f0feb4257652eafda311">USBD_ConfigDescriptor</a> []</td></tr>
<tr class="separator:a614f7a948820f0feb4257652eafda311"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0b48edca979585f5449f057dc28e6bd"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="descriptors__cdc_8c.html#ae0b48edca979585f5449f057dc28e6bd">StringLang</a> [4]</td></tr>
<tr class="separator:ae0b48edca979585f5449f057dc28e6bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab45300d7bc45d5bb8b13ec7c2d1ae27e"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="descriptors__cdc_8c.html#ab45300d7bc45d5bb8b13ec7c2d1ae27e">VendorStringDesc</a> []</td></tr>
<tr class="separator:ab45300d7bc45d5bb8b13ec7c2d1ae27e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03eadf93383e77f75f1cf1f5cbd9f8f4"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="descriptors__cdc_8c.html#a03eadf93383e77f75f1cf1f5cbd9f8f4">ProductStringDesc</a> []</td></tr>
<tr class="separator:a03eadf93383e77f75f1cf1f5cbd9f8f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abbf4277041e4936cb36a4db57200d60d"><td class="memItemLeft" align="right" valign="top">uint8_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="descriptors__cdc_8c.html#abbf4277041e4936cb36a4db57200d60d">USBD_StringDescriptor</a> []</td></tr>
<tr class="separator:abbf4277041e4936cb36a4db57200d60d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">变量说明</h2>
<a id="ab60c3cff1fd75a4e5a9498a17bdf631c" name="ab60c3cff1fd75a4e5a9498a17bdf631c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab60c3cff1fd75a4e5a9498a17bdf631c">&#9670;&#160;</a></span>USBD_DeviceDescriptor</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t USBD_DeviceDescriptor[]</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>初始值:</b><div class="fragment"><div class="line">=</div>
<div class="line">{</div>
<div class="line">    18,                     </div>
<div class="line">    USB_DESC_DEVICE,        </div>
<div class="line">    0x00, 0x02,             </div>
<div class="line">    0x02,                   </div>
<div class="line">    0x00,                   </div>
<div class="line">    0x00,                   </div>
<div class="line">    <a class="code hl_define" href="hid__transfer_8h.html#a5162db480d212170c08d3d940d87be57">EP_CTRL_PKSZ</a>,           </div>
<div class="line">    <a class="code hl_define" href="hid__transfer_8h.html#ac5251397ce2246b546b472cd802e6d62">USBD_VID</a> &amp; 0xFF, ((<a class="code hl_define" href="hid__transfer_8h.html#ac5251397ce2246b546b472cd802e6d62">USBD_VID</a> &gt;&gt; 8) &amp; 0xFF),  </div>
<div class="line">    <a class="code hl_define" href="hid__transfer_8h.html#a287c940e33c18a7f0fda473a8f15b0d0">USBD_PID</a> &amp; 0xFF, ((<a class="code hl_define" href="hid__transfer_8h.html#a287c940e33c18a7f0fda473a8f15b0d0">USBD_PID</a> &gt;&gt; 8) &amp; 0xFF),  </div>
<div class="line">    0x00, 0x03,             </div>
<div class="line">    0x01,                   </div>
<div class="line">    0x02,                   </div>
<div class="line">    0x00,                   </div>
<div class="line">    0x01                    </div>
<div class="line">}</div>
<div class="ttc" id="ahid__transfer_8h_html_a287c940e33c18a7f0fda473a8f15b0d0"><div class="ttname"><a href="hid__transfer_8h.html#a287c940e33c18a7f0fda473a8f15b0d0">USBD_PID</a></div><div class="ttdeci">#define USBD_PID</div><div class="ttdef"><b>Definition:</b> <a href="hid__transfer_8h_source.html#l00007">hid_transfer.h:7</a></div></div>
<div class="ttc" id="ahid__transfer_8h_html_a5162db480d212170c08d3d940d87be57"><div class="ttname"><a href="hid__transfer_8h.html#a5162db480d212170c08d3d940d87be57">EP_CTRL_PKSZ</a></div><div class="ttdeci">#define EP_CTRL_PKSZ</div><div class="ttdef"><b>Definition:</b> <a href="hid__transfer_8h_source.html#l00013">hid_transfer.h:13</a></div></div>
<div class="ttc" id="ahid__transfer_8h_html_ac5251397ce2246b546b472cd802e6d62"><div class="ttname"><a href="hid__transfer_8h.html#ac5251397ce2246b546b472cd802e6d62">USBD_VID</a></div><div class="ttdeci">#define USBD_VID</div><div class="ttdef"><b>Definition:</b> <a href="hid__transfer_8h_source.html#l00006">hid_transfer.h:6</a></div></div>
</div><!-- fragment -->
<p class="definition">在文件 <a class="el" href="descriptors__cdc_8c_source.html">descriptors_cdc.c</a> 第 <a class="el" href="descriptors__cdc_8c_source.html#l00005">5</a> 行定义.</p>

</div>
</div>
<a id="a614f7a948820f0feb4257652eafda311" name="a614f7a948820f0feb4257652eafda311"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a614f7a948820f0feb4257652eafda311">&#9670;&#160;</a></span>USBD_ConfigDescriptor</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t USBD_ConfigDescriptor[]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="descriptors__cdc_8c_source.html">descriptors_cdc.c</a> 第 <a class="el" href="descriptors__cdc_8c_source.html#l00024">24</a> 行定义.</p>

</div>
</div>
<a id="ae0b48edca979585f5449f057dc28e6bd" name="ae0b48edca979585f5449f057dc28e6bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae0b48edca979585f5449f057dc28e6bd">&#9670;&#160;</a></span>StringLang</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t StringLang[4]</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>初始值:</b><div class="fragment"><div class="line">=</div>
<div class="line">{</div>
<div class="line">    4,                  </div>
<div class="line">    USB_DESC_STRING,    </div>
<div class="line">    0x09, 0x04</div>
<div class="line">}</div>
</div><!-- fragment -->
<p class="definition">在文件 <a class="el" href="descriptors__cdc_8c_source.html">descriptors_cdc.c</a> 第 <a class="el" href="descriptors__cdc_8c_source.html#l00110">110</a> 行定义.</p>

</div>
</div>
<a id="ab45300d7bc45d5bb8b13ec7c2d1ae27e" name="ab45300d7bc45d5bb8b13ec7c2d1ae27e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab45300d7bc45d5bb8b13ec7c2d1ae27e">&#9670;&#160;</a></span>VendorStringDesc</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t VendorStringDesc[]</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>初始值:</b><div class="fragment"><div class="line">=</div>
<div class="line">{</div>
<div class="line">    14,</div>
<div class="line">    USB_DESC_STRING,</div>
<div class="line">    <span class="charliteral">&#39;S&#39;</span>, 0, <span class="charliteral">&#39;y&#39;</span>, 0, <span class="charliteral">&#39;n&#39;</span>, 0, <span class="charliteral">&#39;w&#39;</span>, 0, <span class="charliteral">&#39;i&#39;</span>, 0, <span class="charliteral">&#39;t&#39;</span>, 0</div>
<div class="line">}</div>
</div><!-- fragment -->
<p class="definition">在文件 <a class="el" href="descriptors__cdc_8c_source.html">descriptors_cdc.c</a> 第 <a class="el" href="descriptors__cdc_8c_source.html#l00117">117</a> 行定义.</p>

</div>
</div>
<a id="a03eadf93383e77f75f1cf1f5cbd9f8f4" name="a03eadf93383e77f75f1cf1f5cbd9f8f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a03eadf93383e77f75f1cf1f5cbd9f8f4">&#9670;&#160;</a></span>ProductStringDesc</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t ProductStringDesc[]</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>初始值:</b><div class="fragment"><div class="line">=</div>
<div class="line">{</div>
<div class="line">    32,</div>
<div class="line">    USB_DESC_STRING,</div>
<div class="line">    <span class="charliteral">&#39;U&#39;</span>, 0, <span class="charliteral">&#39;S&#39;</span>, 0, <span class="charliteral">&#39;B&#39;</span>, 0, <span class="charliteral">&#39; &#39;</span>, 0, <span class="charliteral">&#39;V&#39;</span>, 0, <span class="charliteral">&#39;i&#39;</span>, 0, <span class="charliteral">&#39;r&#39;</span>, 0, <span class="charliteral">&#39;t&#39;</span>, 0, <span class="charliteral">&#39;u&#39;</span>, 0, <span class="charliteral">&#39;a&#39;</span>, 0, <span class="charliteral">&#39;l&#39;</span>, 0, <span class="charliteral">&#39; &#39;</span>, 0, <span class="charliteral">&#39;C&#39;</span>, 0, <span class="charliteral">&#39;O&#39;</span>, 0, <span class="charliteral">&#39;M&#39;</span>, 0</div>
<div class="line">}</div>
</div><!-- fragment -->
<p class="definition">在文件 <a class="el" href="descriptors__cdc_8c_source.html">descriptors_cdc.c</a> 第 <a class="el" href="descriptors__cdc_8c_source.html#l00124">124</a> 行定义.</p>

</div>
</div>
<a id="abbf4277041e4936cb36a4db57200d60d" name="abbf4277041e4936cb36a4db57200d60d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abbf4277041e4936cb36a4db57200d60d">&#9670;&#160;</a></span>USBD_StringDescriptor</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t* USBD_StringDescriptor[]</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>初始值:</b><div class="fragment"><div class="line">=</div>
<div class="line">{</div>
<div class="line">    <a class="code hl_variable" href="descriptors__cdc_8c.html#ae0b48edca979585f5449f057dc28e6bd">StringLang</a>,</div>
<div class="line">    <a class="code hl_variable" href="descriptors__cdc_8c.html#ab45300d7bc45d5bb8b13ec7c2d1ae27e">VendorStringDesc</a>,</div>
<div class="line">    <a class="code hl_variable" href="descriptors__cdc_8c.html#a03eadf93383e77f75f1cf1f5cbd9f8f4">ProductStringDesc</a>,</div>
<div class="line">    NULL,</div>
<div class="line">}</div>
<div class="ttc" id="adescriptors__cdc_8c_html_a03eadf93383e77f75f1cf1f5cbd9f8f4"><div class="ttname"><a href="descriptors__cdc_8c.html#a03eadf93383e77f75f1cf1f5cbd9f8f4">ProductStringDesc</a></div><div class="ttdeci">uint8_t ProductStringDesc[]</div><div class="ttdef"><b>Definition:</b> <a href="descriptors__cdc_8c_source.html#l00124">descriptors_cdc.c:124</a></div></div>
<div class="ttc" id="adescriptors__cdc_8c_html_ab45300d7bc45d5bb8b13ec7c2d1ae27e"><div class="ttname"><a href="descriptors__cdc_8c.html#ab45300d7bc45d5bb8b13ec7c2d1ae27e">VendorStringDesc</a></div><div class="ttdeci">uint8_t VendorStringDesc[]</div><div class="ttdef"><b>Definition:</b> <a href="descriptors__cdc_8c_source.html#l00117">descriptors_cdc.c:117</a></div></div>
<div class="ttc" id="adescriptors__cdc_8c_html_ae0b48edca979585f5449f057dc28e6bd"><div class="ttname"><a href="descriptors__cdc_8c.html#ae0b48edca979585f5449f057dc28e6bd">StringLang</a></div><div class="ttdeci">uint8_t StringLang[4]</div><div class="ttdef"><b>Definition:</b> <a href="descriptors__cdc_8c_source.html#l00110">descriptors_cdc.c:110</a></div></div>
</div><!-- fragment -->
<p class="definition">在文件 <a class="el" href="descriptors__cdc_8c_source.html">descriptors_cdc.c</a> 第 <a class="el" href="descriptors__cdc_8c_source.html#l00131">131</a> 行定义.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
</small></address>
</body>
</html>
